<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="JS/jquery-1.11.1.min.js"></script>
<script src="JS/bootstrap.min.js"></script>
<script src="JS/avalon.modern.1.5.min.js"></script>
<script src="JS/controller.js"></script>
<link href="JS/bootstrap-all.css" type="text/css" rel="stylesheet">
<link href="JS/bootstrap.min.css" type="text/css" rel="stylesheet">
<link href="JS/controller.css" type="text/css" rel="stylesheet">
<body>
<div class="container">
    <div style="width: 100%;height: 100px;padding: 50px ">
        <div style="float: left">
            <button onclick="openLED()" style="width: 200px;height: 50px">打开</button>
        </div>
        <div style="float: right">
            <button onclick="closeLED()" style="width: 200px;height: 50px">关闭</button>
        </div>
    </div>
    <div style="width: 100%;height: 100px;padding:100px 50px">
        <div style="float: left">
            <button onclick="flicker()" style="width: 200px;height: 50px">闪烁</button>
        </div>
        <div style="float: right">
            <button style="width: 200px;height: 50px" href="#tanchu" data-toggle="modal" data-target="#tanchu">闪烁频率设置
            </button>
        </div>
    </div>
</div>
<div class="modal fade" id="tanchu" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">闪烁频率设置</h4>
            </div>
            <div class="modal-body">
                时间：<input  id="setTime" name="setTime" type="text" value="1">
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>
</body>


</html>